package com.jeeplus.modules.sys.voteaccountonstate.service;


import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.sys.voteaccountonstate.entity.VoteAccountOnstate;
import com.jeeplus.modules.sys.voteaccountonstate.mapper.VoteAccountOnstateMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional(readOnly = true)
public class VoteAccountOnstateService extends CrudService<VoteAccountOnstateMapper, VoteAccountOnstate> {

    public VoteAccountOnstate get(String id) {
        return super.get(id);
    }

    public List<VoteAccountOnstate> findList(VoteAccountOnstate voteAccountOnstate) {
        return super.findList(voteAccountOnstate);
    }

    public Page<VoteAccountOnstate> findPage(Page<VoteAccountOnstate> page, VoteAccountOnstate voteAccountOnstate) {
        return super.findPage(page, voteAccountOnstate);
    }

    @Transactional(readOnly = false)
    public void save(VoteAccountOnstate voteAccountOnstate) {
        super.save(voteAccountOnstate);
    }

    @Transactional(readOnly = false)
    public void delete(VoteAccountOnstate voteAccountOnstate) {
        super.delete(voteAccountOnstate);
    }

}